<?php
class Defaults extends Admin_Controller {
	function __construct() {
		parent::__construct ();
		$this->load->helper('url');
		$this->lang->load('admin/common');
		$this->lang->load('admin/defaults');
		$this->lang->load('admin/login');
	}

	function index()
	{
		
		if( $this->session->userdata('sessionUserAdmin')&& $this->session->userdata('sessionUserAdmin')=='thang')
		{
			$this->load->view('admin/defaults/defaults');
		}else
		{
			redirect(base_url().'admin/index', 'location');
		}
	}
}